package com.boco.fznq.home;

import com.boco.fznq.login.bean.BaseBean;

import java.util.List;

/**
 * Created by jiangcheng on 2017/9/20.
 */

public class NewsBean extends BaseBean {

    private List<News> data;

    public List<News> getData() {
        return data;
    }

    public void setData(List<News> data) {
        this.data = data;
    }

    public static class News {
        /**
         * title	新闻标题
         * desc	新闻简介
         * date	发布日期
         * detailUrl	新闻详情的url
         */

        private String title;
        private String desc;
        private String date;
        private String detailUrl;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

        public String getDate() {
            return date;
        }

        public void setDate(String date) {
            this.date = date;
        }

        public String getDetailUrl() {
            return detailUrl;
        }

        public void setDetailUrl(String detailUrl) {
            this.detailUrl = detailUrl;
        }

        @Override
        public String toString() {
            return "News{" +
                    "title='" + title + '\'' +
                    ", desc='" + desc + '\'' +
                    ", date='" + date + '\'' +
                    ", detailUrl='" + detailUrl + '\'' +
                    '}';
        }
    }
}
